<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>普渡众生</title>
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no, email=no" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <script type="text/javascript" src="{MODULE_URL}public/yu/js/flexible.js"></script>
    <script type="text/javascript" src="{MODULE_URL}public/yu/js/pageLoading.js"></script>
    <script type="text/javascript" src="{MODULE_URL}public/yu/js/jquery.js"></script>
    <link type="text/css" rel="stylesheet" href="{MODULE_URL}public/yu/css/index.css">

    <script src="{MODULE_URL}public/yu/js/zepto.min.js"></script>
    <link type="text/css" rel="stylesheet" href="{MODULE_URL}public/yu/css/me.css">

</head>
<body>
<p class="daoshu">倒计时&nbsp;<span id='countdown_time'></span>&nbsp;即可再次放生</p>
<h1>本月拯救&nbsp;<span class='org'>个</span>&nbsp;众生性命</h1>
<h1>目前连续拯救&nbsp;<span class='org'>个</span>&nbsp;众生性命</h1>
<h2>温馨提示：放生系统每天能放生三次</h2>
<p class="hint">，您于</p>

<ul class="ad">
    <li><i>2016-09-23</i><b>10:51:06</b><span>拯救1个众生性命</span></li>
</ul>

<script>
    time();
    function time(){
        var now = new Date();//获取当前时间

        var hour=now.getHours();//获取当前时

        var minute=now.getMinutes();//获取当前分

        var second=now.getSeconds();//获取当前秒

        var curDate = hour*60*60*1000+minute*60*1000+second*1000;//获取当前时分秒

        var s = 24*60*60*1000 - curDate;  //24减去当前上香时间

        s=Math.floor(s/1000); //得到秒数

        s=s%(24*60*60);  //获得剩余秒数

        var h=Math.floor(s/(60*60));  //得到小时数

        s=s%(60*60);  //获得剩余秒数

        var mi=Math.floor(s/60);  //得到分钟数

        s=s%(60);  //获得剩余秒数

        document.getElementById("countdown_time").innerHTML=h+":"+mi+":"+s;
        setTimeout(time,1000);//1秒后，调用自己一次
    }
</script>


<!-- 底部导航 -->
 {template 'yucommon/nav'}
<!-- 底部导航 -->
<!--<div id="mask"></div>-->

<script src="{MODULE_URL}public/yu/js/fun.js"></script>


</body>
</html>